<?php

namespace App\Enums;

use App\Traits\EnumTrait;

/**
 * @method static self ON_SHELF
 * @method static self OFF_SHELF
 */
class GoodsBrandStatusEnum extends \PhpEnum\PhpEnum
{
    use EnumTrait;

    const ON_SHELF = [100, "已上架"];
    const OFF_SHELF = [200, "已下架"];

    protected function construct($key, $name)
    {
        $this->key = $key;
        $this->name = $name;
    }
}
